/**
 * @filename:SysRole 2025-05-09
 * @project starhub-schema  V1.0
 */
package com.starhub.engine.sys.role.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

import lombok.Data;
import java.util.Date;

/**   
 * @Description:(角色设置实体类)
 * @version: V1.0
 * @author: luosw
 */
@Data
@ApiModel
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class SysRole implements Serializable {

	private static final long serialVersionUID = 1746775605599L;
	
    @JsonSerialize(using = ToStringSerializer.class)
	@ApiModelProperty(name = "id" , value = "ID")
	private Long id;
    
	@ApiModelProperty(name = "deleteType" , value = "逻辑删除标识（0-未删除，1-已删除）")
	private Integer deleteType;
    
	@ApiModelProperty(name = "createTime" , value = "创建时间")
	private Date createTime;
    
	@ApiModelProperty(name = "updateTime" , value = "修改时间")
	private Date updateTime;
    
	@ApiModelProperty(name = "roleCode" , value = "")
	private String roleCode;
    
	@ApiModelProperty(name = "roleName" , value = "")
	private String roleName;
    
	@ApiModelProperty(name = "status" , value = "")
	private String status;
    
    @JsonSerialize(using = ToStringSerializer.class)
	@ApiModelProperty(name = "parentId" , value = "")
	private Long parentId;

}
